package com.yq.ylmall.model.product;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yq.ylmall.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 商品规格
 * </p>
 *
 * @author yzk789
 * @since 2024-05-30
 */
@Data
@TableName("product_spec")
@ApiModel(value="ProductSpec对象", description="商品规格")
public class ProductSpec extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "规格名称")
    private String specName;

    @ApiModelProperty(value = "规格值：[{'key':'颜色','valueList':['蓝','白','红']]")
    private String specValue;

}
